package model.magazina;

import javax.xml.bind.annotation.*;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   3/9/13
 * Time:   9:16 PM
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlRootElement(name = "transferim")
public class Transferim {
    private int id;
    private int artikulliID;
    private int operatoriID;
    private int magazinaBurimID;
    private int magazinaDestinacionID;
    private Date dataTransferimit;
    private double sasia;

    public Transferim(){ }

    public Transferim(int id, int artikulliID, int operatoriID, int magazinaBurimID, int magazinaDestinacionID, Date dataTransferimit, double sasia) {
        this.id = id;
        this.artikulliID = artikulliID;
        this.operatoriID = operatoriID;
        this.magazinaBurimID = magazinaBurimID;
        this.magazinaDestinacionID = magazinaDestinacionID;
        this.dataTransferimit = dataTransferimit;
        this.sasia = sasia;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getArtikulliID() {
        return artikulliID;
    }

    public void setArtikulliID(int artikulliID) {
        this.artikulliID = artikulliID;
    }

    public int getOperatoriID() {
        return operatoriID;
    }

    public void setOperatoriID(int operatoriID) {
        this.operatoriID = operatoriID;
    }

    public int getMagazinaBurimID() {
        return magazinaBurimID;
    }

    public void setMagazinaBurimID(int magazinaBurimID) {
        this.magazinaBurimID = magazinaBurimID;
    }

    public int getMagazinaDestinacionID() {
        return magazinaDestinacionID;
    }

    public void setMagazinaDestinacionID(int magazinaDestinacionID) {
        this.magazinaDestinacionID = magazinaDestinacionID;
    }

    public Date getDataTransferimit() {
        return dataTransferimit;
    }

    public void setDataTransferimit(Date dataTransferimit) {
        this.dataTransferimit = dataTransferimit;
    }

    public double getSasia() {
        return sasia;
    }

    public void setSasia(double sasia) {
        this.sasia = sasia;
    }
}
